package com.example.handlercontext;

import org.springframework.stereotype.Component;

/**
 * @author by linenxi
 * @Classname V1OrderHandler
 * @Description
 * @Date 2019/5/5
 */
@Component
@OrderHandlerType(value = "secKill", meesage = "秒杀订单")
public class SecKillOrderHandler implements BasicOrderHandler {
    @Override
    public void say() {
        System.err.println(SecKillOrderHandler.class.getAnnotation(OrderHandlerType.class).meesage());
    }
}
